﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace BDSim
{
    /// <summary>
    /// 模型类型转换到对应资源（暂时未使用）
    /// </summary>
    class ModelTypeToResourceKey
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            //ModelType modelType = (ModelType)value;
            string ResourceKey = "";
            //switch (modelType)
            //{
            //    case ModelType.Satellite:
            //        ResourceKey = "SatNodeMenu";
            //        break;
            //    case ModelType.MasterStation:
            //    case ModelType.InjectionStation:
            //    case ModelType.MonitorStation:
            //    case ModelType.KaManageStation:
            //    case ModelType.ManageCenterStation:
            //        ResourceKey = "StationNodeMenu";
            //        break;
            //    default:
            //        break;
            //}
            return ResourceKey;
        }
        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
